From: Po Lu Date: Thu, 7 Jul 2022 02:50:49 +0000 (+0800) Subject: Fix NS build X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~16^2~1886^2~1131 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=ca58872a5370bc9683c8bc0128c1f896410fdb6b;p=emacs.git Fix NS build * src/keyboard.c (process_special_events): Don't define copy and moved events on the wrong toolkit. --- diff --git a/src/keyboard.c b/src/keyboard.c index 76dc3732b54..84a7a0a38a5 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -4361,12 +4361,14 @@ static void process_special_events (void) { union buffered_input_event *event; +#if defined HAVE_X11 || defined HAVE_PGTK || defined HAVE_HAIKU #ifndef HAVE_HAIKU struct selection_input_event copy; #else struct input_event copy; #endif int moved_events; +#endif for (event = kbd_fetch_ptr; event != kbd_store_ptr; event = next_kbd_event (event))